﻿/*
=============================================================================
Author:魏宝辉通过CodeSmithe生成
CreatedTime:2012-10-31
Description:Sms_Log三层结构模型层
=============================================================================	
*/
using System;
using System.Collections.Generic;
using System.Text;
 
using PWMIS.Common;
using PWMIS.DataMap.Entity;
namespace FTchina.Models
{
	/// <summary>
	/// 
	/// </summary>
	[Serializable()]
	public class Sms_Log: EntityBase
	{
		
		//不带数的构造方法
		public Sms_Log()
		{
            TableName = "Sms_Log";
            EntityMap = EntityMapType.Table;

            //IdentityName = "标识字段名";
            IdentityName = "Id";

            //PrimaryKeys.Add("主键字段名");
            PrimaryKeys.Add("Id");
			
		}
        
        protected override void SetFieldNames()
        {           
            PropertyNames = new string[] { "Id" ,"Sendtime" ,"SenderID" ,"Target" ,"Scontent" ,"State" ,"Statetime" ,"Smsguid" ,"Taskstate" ,"Shenhe" ,"Sendcount" ,"Lockguid" };
        }  
        
		#region Sms_Log Filed
 		public  System.Int64 Id
		{
			 get{return getProperty< System.Int64>("Id");}
             set{setProperty("Id",value );}
		}		 
 		public System.DateTime Sendtime
		{
			 get{return getProperty<System.DateTime>("Sendtime");}
             set{setProperty("Sendtime",value );}
		}		 
 		public System.String SenderID
		{
			 get{return getProperty<System.String>("SenderID");}
             set{setProperty("SenderID",value );}
		}		 
 		public System.String Target
		{
			 get{return getProperty<System.String>("Target");}
             set{setProperty("Target",value );}
		}		 
 		public System.String Scontent
		{
			 get{return getProperty<System.String>("Scontent");}
             set{setProperty("Scontent",value );}
		}		 
 		public System.String State
		{
			 get{return getProperty<System.String>("State");}
             set{setProperty("State",value );}
		}		 
 		public System.DateTime Statetime
		{
			 get{return getProperty<System.DateTime>("Statetime");}
             set{setProperty("Statetime",value );}
		}		 
 		public System.String Smsguid
		{
			 get{return getProperty<System.String>("Smsguid");}
             set{setProperty("Smsguid",value );}
		}		 
 		public System.String Taskstate
		{
			 get{return getProperty<System.String>("Taskstate");}
             set{setProperty("Taskstate",value );}
		}		 
 		public System.String Shenhe
		{
			 get{return getProperty<System.String>("Shenhe");}
             set{setProperty("Shenhe",value );}
		}		 
 		public  System.Int32 Sendcount
		{
			 get{return getProperty< System.Int32>("Sendcount");}
             set{setProperty("Sendcount",value );}
		}		 
 		public System.String Lockguid
		{
			 get{return getProperty<System.String>("Lockguid");}
             set{setProperty("Lockguid",value );}
		}		 
		#endregion
	}
}

